#!/bin/bash
#
# SPDX-License-Identifier: GPL-2.0-only
#

### Base paths to test suite ###
if [ "x${BT_TESTS_SRCDIR:-}" = "x" ]; then
	BT_TESTS_SRCDIR="@abs_top_srcdir@/tests"
fi
export BT_TESTS_SRCDIR

if [ "x${BT_TESTS_BUILDDIR:-}" = "x" ]; then
	BT_TESTS_BUILDDIR="@abs_top_builddir@/tests"
fi
export BT_TESTS_BUILDDIR


### External Tools ###
if [ "x${BT_TESTS_AWK_BIN:-}" = "x" ]; then
	BT_TESTS_AWK_BIN="@AWK@"
fi
export BT_TESTS_AWK_BIN

if [ "x${BT_TESTS_GREP_BIN:-}" = "x" ]; then
	BT_TESTS_GREP_BIN="@GREP@"
fi
export BT_TESTS_GREP_BIN

if [ "x${BT_TESTS_PYTHON_BIN:-}" = "x" ]; then
	BT_TESTS_PYTHON_BIN="@PYTHON@"
fi
export BT_TESTS_PYTHON_BIN

if [ "x${BT_TESTS_PYTHON_CONFIG_BIN:-}" = "x" ]; then
	BT_TESTS_PYTHON_CONFIG_BIN="@PYTHON_CONFIG@"
fi
export BT_TESTS_PYTHON_CONFIG_BIN

if [ "x${BT_TESTS_SED_BIN:-}" = "x" ]; then
	BT_TESTS_SED_BIN="@SED@"
fi
export BT_TESTS_SED_BIN

if [ "x${BT_TESTS_CC_BIN:-}" = "x" ]; then
	BT_TESTS_CC_BIN="@CC@"
fi
export BT_TESTS_CC_BIN


### Optional features ###

if [ "x${BT_TESTS_ENABLE_ASAN:-}" = "x" ]; then
	BT_TESTS_ENABLE_ASAN="@ENABLE_ASAN@"
fi
export BT_TESTS_ENABLE_ASAN
